package dealfinder

class Image {
    
    byte[] data
    Deal deal
    
    static belongsTo = [Deal]


    static constraints = {
        data(nullable:false, maxSize: 5242880) //5MB
    }
}
